package com.lww.feature.test.design.pattern.prototype;

import java.io.Serializable;

/**
 * @author: liweiwei
 * @date: 2019/1/22
 */
public class House implements Cloneable,Serializable{
    private static final long serialVersionUID = 1645858685915832600L;
    private String no;
    private CookHouse cookHouse;
    private int age;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public CookHouse getCookHouse() {
        return cookHouse;
    }

    public void setCookHouse(CookHouse cookHouse) {
        this.cookHouse = cookHouse;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return (House)super.clone();
    }
}
